package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 首页轮播广告对象 sms_banner
 * 
 * @author dries
 * @date 2022-03-06
 */
public class SmsBanner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 名字 */
    @Excel(name = "名字")
    private String name;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String cover;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 点击数 */
    @Excel(name = "点击数")
    private Long clickCount;

    /** 类型 */
    @Excel(name = "类型")
    private Long type;

    /** 广告详情连接地址 */
    @Excel(name = "广告详情连接地址")
    private String url;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 发布者 */
    @Excel(name = "发布者")
    private String publisherId;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCover(String cover) 
    {
        this.cover = cover;
    }

    public String getCover() 
    {
        return cover;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setClickCount(Long clickCount) 
    {
        this.clickCount = clickCount;
    }

    public Long getClickCount() 
    {
        return clickCount;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setPublisherId(String publisherId) 
    {
        this.publisherId = publisherId;
    }

    public String getPublisherId() 
    {
        return publisherId;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("cover", getCover())
            .append("status", getStatus())
            .append("clickCount", getClickCount())
            .append("type", getType())
            .append("url", getUrl())
            .append("sort", getSort())
            .append("publisherId", getPublisherId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
